﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Message.aspx.cs" Inherits="AdminPages_Message" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:Label ID="lbl_Recipient" runat="server" Text="Recipient: "></asp:Label>
    <asp:DropDownList ID="ddl_recipient" runat="server" 
        DataSourceID="SqlDataSource1" DataTextField="UserName" 
        DataValueField="UserName">
    </asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:DatabaseConnectionString %>" 
        SelectCommand="SELECT [UserName] FROM [Customer]"></asp:SqlDataSource>
    <asp:Label ID="lbl_Content" runat="server" Text="Content"></asp:Label>
    <asp:TextBox ID="txt_Content" runat="server"></asp:TextBox>
    <asp:Button ID="btn_SendToSingleUser" runat="server" 
        Text="Send to selected User" onclick="btn_SendToSingleUser_Click" />
    <asp:Button ID="btn_SendToAllUsers"
        runat="server" Text="Send to all Users" 
        onclick="btn_SendToAllUsers_Click" />
</asp:Content>

